using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Xml;

namespace RockCompany.Master.DTO
{
    public class CONG_LENH_SX
    {
        public const string N_CHON = "CHON";
        public const string N_TABLE = "CONG_LENH_SX";
        public const string N_SO_LO = "SO_LO";
        public const string N_CONG_LENH_CHA = "CONG_LENH_CHA";
        public const string N_MA_MAU = "MA_MAU";
        public const string N_TEN_SP = "TEN_SP";
        public const string N_CREATION_USER = "CREATION_USER";
        public const string N_CREATION_TIME = "CREATION_TIME";
        public const string N_NGAY_SX = "NGAY_SX";
        public const string N_DO_SANG_S = "DO_SANG_S";
        public const string N_DO_SANG_N = "DO_SANG_N";
        public const string N_DO_MAU_S = "DO_MAU_S";
        public const string N_DO_MAU_N = "DO_MAU_N";
        public const string N_MAU_S = "MAU_S";
        public const string N_MAU_N = "MAU_N";
        public const string N_SO_E = "SO_E";
        public const string N_PHE_DUYET = "PHE_DUYET";
        public const string N_DIEU_CHINH = "DIEU_CHINH";
        public const string N_SO_LAN_DIEU_CHINH = "SO_LAN_DIEU_CHINH";
        public const string N_HIEU_SUAT = "HIEU_SUAT";
        public const string N_SL_TON_AN_TOAN = "SL_TON_AN_TOAN";
        public const string N_TONG_TIEN = "TONG_TIEN";
        public const string N_GHI_CHU = "GHI_CHU";
        public const string N_CREATION_PROGRAM_ID = "CREATION_PROGRAM_ID";
        public const string N_LAST_UPDATE_TIME = "LAST_UPDATE_TIME";
        public const string N_LAST_UPDATE_PROGRAM_ID = "LAST_UPDATE_PROGRAM_ID";
        public const string N_LAST_UPDATE_USER = "LAST_UPDATE_USER";


        #region Properties
        private bool _CHON;
        public bool CHON
        {
            get { return _CHON; }
            set { _CHON = value; }
        }

        private string _SO_LO;
        public string SO_LO
        {
            get { return _SO_LO; }
            set { _SO_LO = value; }
        }

        private string _MA_MAU;
        public string MA_MAU
        {
            get { return _MA_MAU; }
            set { _MA_MAU = value; }
        }

        private string _TEN_SP;
        public string TEN_SP
        {
            get { return _TEN_SP; }
            set { _TEN_SP = value; }
        }

        private string _CREATION_USER;
        public string CREATION_USER
        {
            get { return _CREATION_USER; }
            set { _CREATION_USER = value; }
        }

        private DateTime _CREATION_TIME;
        public DateTime CREATION_TIME
        {
            get { return _CREATION_TIME; }
            set { _CREATION_TIME = value; }
        }

        private DateTime _NGAY_SX;
        public DateTime NGAY_SX
        {
            get { return _NGAY_SX; }
            set { _NGAY_SX = value; }
        }

        private double _DO_SANG_S;
        public double DO_SANG_S
        {
            get { return _DO_SANG_S; }
            set { _DO_SANG_S = value; }
        }

        private double _DO_SANG_N;
        public double DO_SANG_N
        {
            get { return _DO_SANG_N; }
            set { _DO_SANG_N = value; }
        }

        private double _MAU_S;
        public double MAU_S
        {
            get { return _MAU_S; }
            set { _MAU_S = value; }
        }

        private double _MAU_N;
        public double MAU_N
        {
            get { return _MAU_N; }
            set { _MAU_N = value; }
        }

        private string _SO_E;
        public string SO_E
        {
            get { return _SO_E; }
            set { _SO_E = value; }
        }

        private bool _PHE_DUYET;
        public bool PHE_DUYET
        {
            get { return _PHE_DUYET; }
            set { _PHE_DUYET = value; }
        }

        private bool _DIEU_CHINH;
        public bool DIEU_CHINH
        {
            get { return _DIEU_CHINH; }
            set { _DIEU_CHINH = value; }
        }

        private int _SO_LAN_DIEU_CHINH;
        public int SO_LAN_DIEU_CHINH
        {
            get { return _SO_LAN_DIEU_CHINH; }
            set { _SO_LAN_DIEU_CHINH = value; }
        }

        private string _CONG_LENH_CHA;
        public string CONG_LENH_CHA
        {
            get { return _CONG_LENH_CHA; }
            set { _CONG_LENH_CHA = value; }
        }

        private double _HIEU_SUAT;
        public double HIEU_SUAT
        {
            get { return _HIEU_SUAT; }
            set { _HIEU_SUAT = value; }
        }

        private double _SL_TON_AN_TOAN;
        public double SL_TON_AN_TOAN
        {
            get { return _SL_TON_AN_TOAN; }
            set { _SL_TON_AN_TOAN = value; }
        }

        private double _TONG_TIEN;
        public double TONG_TIEN
        {
            get { return _TONG_TIEN; }
            set { _TONG_TIEN = value; }
        }

        private string _GHI_CHU;
        public string GHI_CHU
        {
            get { return _GHI_CHU; }
            set { _GHI_CHU = value; }
        }

        private string _CREATION_PROGRAM_ID;
        public string CREATION_PROGRAM_ID
        {
            get { return _CREATION_PROGRAM_ID; }
            set { _CREATION_PROGRAM_ID = value; }
        }

        private DateTime _LAST_UPDATE_TIME;
        public DateTime LAST_UPDATE_TIME
        {
            get { return _LAST_UPDATE_TIME; }
            set { _LAST_UPDATE_TIME = value; }
        }

        private string _LAST_UPDATE_PROGRAM_ID;
        public string LAST_UPDATE_PROGRAM_ID
        {
            get { return _LAST_UPDATE_PROGRAM_ID; }
            set { _LAST_UPDATE_PROGRAM_ID = value; }
        }

        private string _LAST_UPDATE_USER;
        public string LAST_UPDATE_USER
        {
            get { return _LAST_UPDATE_USER; }
            set { _LAST_UPDATE_USER = value; }
        }


        #endregion

        #region Contructor
        public CONG_LENH_SX()
        {
            SO_LO = "";
            MA_MAU = "";
            TEN_SP = "";
            CREATION_USER = "";
            CREATION_TIME = DateTime.Now;
            NGAY_SX = DateTime.Now;
            DO_SANG_S = 0.0;
            DO_SANG_N = 0.0;
            MAU_S = 0.0;
            MAU_N = 0.0;
            SO_E = "";
            PHE_DUYET = false;
            DIEU_CHINH = false;
            SO_LAN_DIEU_CHINH = -1;
            CONG_LENH_CHA = "";
            HIEU_SUAT = 0.0;
            SL_TON_AN_TOAN = 0;
            GHI_CHU = "";
            CREATION_PROGRAM_ID = "";
            LAST_UPDATE_TIME = DateTime.Now;
            LAST_UPDATE_PROGRAM_ID = "";
            LAST_UPDATE_USER = "";
        }
        #endregion

    }
}